﻿using ABlog.Domain.Entity.Foundation;

namespace ABlog.Domain.Entity
{
    /// <summary>
    /// 类型实体
    /// </summary>
    public partial class TypeEntity : CreationAudited
    {
        /// <summary>
        /// 类型名称
        /// </summary>
        public string TypeName { get; set; }
    }

    /// <summary>
    /// 类型实体
    /// </summary>
    public partial class TypeEntity 
    {
        public TypeEntity() { }

        public TypeEntity(string userId, string name) : base(userId)
        {
            TypeName = name;
        }
    }
}
